package org.ricks.item;

// 基础记录类
public record ItemInstance(int typeId, String uuid, int amount) {
    public ItemInstance withAmount(int newAmount) {
        return new ItemInstance(typeId, uuid, newAmount);
    }
}